package com.bonc.ioc.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author liuyang
 * @creats 2021-04-09-15:37
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DaassetsVo implements Serializable {

    /**
     * 主键
     */
    private Integer id;
    /**
     * 访问量
     */
    private Integer visitNum;
    /**
     * 使用量(下载量)
     */
    private Integer usedNum;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    /**
     * 收藏量
     */
    private Long collection;

    /**
     * 资产 标题
     */
    private String title;

    private static final long serialVersionUID = 1L;
}
